﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/AdminCP/Views/Shared/ViewMasterPage1.Master"
    Inherits="System.Web.Mvc.ViewPage<InfoTech.Mvc.LanTranh.MucVu.Models.USERModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <div class="content-box">
        <div class="content-box-header">
            <h3>
                Cập nhật Người Dùng</h3>
        </div>
        <!-- End .content-box-header -->
        <div class="content-box-content">
            <%
                Html.EnableClientValidation(); %>
            <% 
                using (Html.BeginForm())
                {%>
            <%: Html.ValidationSummary() %>
            <%:Html.HiddenFor(c=>c.USERID) %>
            <table cellpadding="3" cellspacing="3">
                <tr>
                    <td align="right" class="cellTitle" valign="middle">
                        Username
                    </td>
                    <td nowrap="nowrap">
                        <div class="editor-field">
                            <%: Html.TextBoxFor(model => model.USERNAME, new { style = "width: 400px", @class = "text-input" })%>
                            <%: Html.ValidationMessageFor(model => model.USERNAME, "(*)")%>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="cellTitle" valign="middle">
                        Old Password
                    </td>
                    <td>
                        <div class="editor-field">
                            <%: Html.PasswordFor(model => model.OLD_PASWORD, new { style = "width: 400px", autocomplete = "off", @class = "text-input" })%>
                            <%: Html.ValidationMessageFor(model => model.OLD_PASWORD, "(*)")%>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="cellTitle" valign="middle">
                        New Password
                    </td>
                    <td>
                        <div class="editor-field">
                            <%: Html.PasswordFor(model => model.PASSWORD, new { style = "width: 400px", autocomplete = "off", @class = "text-input" })%>
                            <%: Html.ValidationMessageFor(model => model.PASSWORD, "(*)")%>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="cellTitle" valign="middle">
                        Confirm Password
                    </td>
                    <td>
                        <div class="editor-field">
                            <%: Html.PasswordFor(model => model.RETYPEPASSWORD, new { style = "width: 400px",autocomplete = "off", @class = "text-input" })%>
                            <%: Html.ValidationMessageFor(model => model.RETYPEPASSWORD, "(*)")%>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="cellTitle" valign="middle">
                        Email
                    </td>
                    <td>
                        <div class="editor-field">
                            <%: Html.TextBoxFor(model => model.EMAIL, new { style = "width: 400px", @class = "text-input" })%>
                            <%: Html.ValidationMessageFor(model => model.EMAIL, "(*)")%>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="cellTitle" valign="middle">
                        Manage User
                    </td>
                    <td>
                        <div class="editor-field">
                            <%: Html.CheckBoxFor(model => model.MANAGEUSER)%>
                            <%: Html.ValidationMessageFor(model => model.MANAGEUSER, "(*)")%>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="lineRow" colspan="2">
                    </td>
                </tr>
                <tr>
                    <td align="right" class="cellTitle" valign="middle">
                    </td>
                    <td>
                        <input type="submit" value="Cập nhật Người Dùng" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" />
                    </td>
                </tr>
            </table>
            <% } %>
        </div>
        <!-- End .content-box-content -->
    </div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderCss" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolderScript" runat="server">
</asp:Content>
